package xcmg.device.dao.entity.order;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 转包出库单详情表 实体类 --表 T_SUBCONTRACTING_OUT_DETAIL
 */
@ToString
@Data
@ApiModel(value = "SubcontractingOutDetail", description = "转包出库单详情表")
public class SubcontractingOutDetailDO implements Serializable {
    private static final long serialVersionUID = -1L;
    //ID，主键(ID)
    @ApiModelProperty(value = "ID，主键", name = "id")
    private String id;
    //转包发货单ID，主表ID(FID)
    @ApiModelProperty(value = "转包发货单ID，主表ID", name = "fid")
    private String fid;
    //来源转包单详情ID(SUBCONT_ORDER_DETAIL_ID)
    @ApiModelProperty(value = "来源转包单详情ID", name = "subcontOrderDetailId")
    private String subcontOrderDetailId;
    //零件编号(COMPONENT_NO)
    @ApiModelProperty(value = "零件编号", name = "componentNo")
    private String componentNo;
    //materialsShortNo(MATERIALS_SHORT_NO)
    @ApiModelProperty(value = "materialsShortNo", name = "materialsShortNo")
    private String materialsShortNo;
    //materialsDes(MATERIALS_DES)
    @ApiModelProperty(value = "materialsDes", name = "materialsDes")
    private String materialsDes;
    //包装单位(PACKAGE_UNIT)
    @ApiModelProperty(value = "包装单位", name = "packageUnit")
    private String packageUnit;
    //发货数量(PLAN_AMOUNT)
    @ApiModelProperty(value = "发货数量", name = "planAmount")
    private BigDecimal planAmount;
    //出库数量(REAL_AMOUNT)
    @ApiModelProperty(value = "出库数量", name = "realAmount")
    private BigDecimal realAmount;
    @ApiModelProperty(value="出库状态,0创建  1部分完成 2完成  3:强制结单",name="outboundStatus")
    private Integer outboundStatus;
    //新增时间(CREATED_TIME)
    @ApiModelProperty(value = "新增时间", name = "createdTime")
    private Date createdTime;
    //更新时间(UPDATED_TIME)
    @ApiModelProperty(value = "更新时间", name = "updatedTime")
    private Date updatedTime;

}
